﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace EmployeeManager.View
{
    public partial class Formhd : Form
    {
        public Formhd()
        {
            InitializeComponent();
        }

        private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
        {

        }

        private void treeView1_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            switch (e.Node.Name)
            {
                case "nThem":
                    webBrowser1.Navigate(@"D:\googlecode\New folder\Code\EmployeeManager\EmployeeManager\Help\hdsudung.mht");
                    break;
                case "nSua":
                    webBrowser1.Navigate(@"D:\googlecode\New folder\Code\EmployeeManager\EmployeeManager\Help\hdsudungsua.mht");
                    break;
                case "nXoa":
                    webBrowser1.Navigate(@"D:\googlecode\New folder\Code\EmployeeManager\EmployeeManager\Help\hdsudungxoa.mht");
                    break;
                case "nTimkiem":
                    webBrowser1.Navigate(@"D:\googlecode\New folder\Code\EmployeeManager\EmployeeManager\Help\hdsudungtimkiem.mht");
                    break;
                default:
                    break;

        }
    }

        private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
        {
        
        }
}
